PROJECT(eutran_application)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

add_definitions(-Wall)
#add_definitions(-DLOCATION_DEVICE)

SET(SRC_LIST BbuManager.cc eutranManager.cc eutranCtrl.cc eutranMsgHandle.cc NmmToX86Protocol.cc TlvMessage.cc OamMessageProtocol.cc NmmToCtrlBoardMessage.cc SnifferManager.cc OamManager.cc EutranConfigData.cc ProcedureCtrl.cc MessageDef.cc AutoSnifferCtrl.cc EutranTcpReceiver.cc)

IF(NOT EXISTS ${EXECUTABLE_OUTPUT_PATH})
    EXEC_PROGRAM(mkdir ${PROJECT_SOURCE_DIR} ARGS ${EXECUTABLE_OUTPUT_PATH})
ENDIF()

ADD_LIBRARY(eutran STATIC ${SRC_LIST})
